package com.mezz.bones.im.logic.repository;

import com.baomidou.mybatisplus.extension.service.IService;
import com.mezz.bones.im.logic.domain.entity.ChatUserRemark;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * IM用户 服务类
 * </p>
 *
 * @author mezz
 * @since 2025-04-28
 */
public interface IChatUserRemarkRepository extends IService<ChatUserRemark> {

    String getPeerRemarkNickname(String userId, String peerId);

    ChatUserRemark getByUserIdAndPeerId(String userId, String peerId);

    Map<String,String> findPeersRemarkNickname(String userId, List<String> peerIds);

    void clearRemarkName(String userId, String peerId);
}
